package com.ruoyi.web.controller.statistics.teacher;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.teacher.Statistics.TeacherStatisticsRequestVO;
import com.ruoyi.system.service.teacher.ITeacherStatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @Description:教师统计
 * @Author: 刘巍
 * @Date: 2020/3/16
 * @Version V1.0
 */
@RestController
@RequestMapping("/teacher/statistics")
public class TeacherStatisticsController  extends BaseController {
    @Autowired
    private ITeacherStatisticsService service;
    /**
     * 获取教师各项信息
     * @return
     */
    @PostMapping("/indexInfo")
    public AjaxResult getIndexInfo(  TeacherStatisticsRequestVO requestVO){
        return   success(service.getIndexInfo(requestVO));
    }


}
